#include <stdio.h>

int main() {
    int arr[] = {10,8,3,9,4,5,2,0};
    for(int i=0;i<=7;i++){
        for(int j=i+1;j<=7;j++){
            int temp;
            if(arr[i]<arr[j]){
                temp = arr[i];
                arr[i] = arr[j];
                arr[j] = temp;
            }
        }
    }
    for (int i = 0; i <=7; i++)
    {
        printf("%d, ", arr[i]);
    }
    
    return 0;
}